package com.suxiaoxiao.springbootlearn.designpattern.commandpattern.commands.garagedoor;

/**
 * 车库门
 * @author 、
 */
public class GarageDoor {

    private String name;

    public GarageDoor() {
    }

    public GarageDoor(String name) {
        this.name = name;
    }

    public void up() {
        System.out.println(name + "GarageDoor is open");
    }

    public void down() {
        System.out.println(name + "GarageDoor is Down");
    }

    public void stop() {

    }

    public void lightOn() {

    }

    public void lightOff() {

    }

}
